package com.smartleanx.module.hrm.dal.mysql.programme;
import com.baomidou.mybatisplus.annotation.InterceptorIgnore;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.smartleanx.module.hrm.dal.dataobject.programme.SystemChinaArea;
import com.smartleanx.module.hrm.dal.dataobject.programme.vo.SystemChinaAreaVo;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
@Mapper
@InterceptorIgnore(tenantLine = "1")
public interface SystemChinaAreaMapper extends BaseMapper<SystemChinaArea> {

    /**
     * 查询父级下的所有区域
     */
    List<SystemChinaAreaVo> selectChinaAreasByPid(@Param("pId") Integer pId);






}
